<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" %>
<%@taglib prefix="s" uri="/struts-tags" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
    <base href="<%=basePath%>">

    <title>图片管理</title>

    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="This is my page">
</head>

<body>
	<div align="center">
	    	<table align="right">
	    		<tr>
	    			<td><a href="image_insert.action" target="mainFrame" >添加图片</a></td>
	    			<td><a href="images_find.action" target="mainFrame">图片管理</a></td>
	    		</tr>
	    	</table>
	    	<table border="1px">
	  				<s:form action="image_add.action" method="post" enctype="multipart/form-data" target="mainFrame">
	  					
	  					<tr>
	  						<td><s:select list="navList" name="navIdList" listKey="navId" listValue="navName" label="图片类别" headerKey="0" headerValue="--请选择图片类别--" /></td>
	  					</tr>
	  					<tr>
	  						<td><s:file name="upload" label="选择图片" ></s:file></td>
	  					</tr>
	  					<tr>
	  						<td><s:submit value="添加图片" /></td>
	  					</tr>	
	  				</s:form>
	    	</table>
	    	<s:debug></s:debug>
	
	</div>
</body>

</html>
